﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	SN.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common
{
	/// <summary>
	/// Statically defined names
	/// </summary>
	public static class SN
	{
		public static string SchemaVersionKey = "sdf_sv";
		public static string SchemaVersionInitial = "1";

		// Fields

		// Fields Keys

		// Error Messages

		// Standart fields
		public const string ContentTypeField = "ContentType";
		public const string ContentTypeIdField = "ContentTypeId";

		public const string IDField = "ID";
		public const string ParentIDField = "ParentID";
		public const string TitleField = "Title";
		public const string ModifiedField = "Modified";
		public const string NameField = "Name";
		public const string LinksField = "Links";
		public const string GroupField = "Group";
		public const string WeeField = "Week";
		public const string OrderField = "OrderID";
		public const string EditorField = "Editor";
		public const string AuthorField = "Author";
		public const string FileRefField = "FileRef";
		public const string FileLeafRefField = "FileLeafRef";

		public const string ListIdField = "ListId";
		public const string WebIdField = "WebId";
		public const string WebUrlField = "WebUrl";
		public const string TaskCompletedField = "Completed";
		public const string WorkflowListIdField = "WorkflowListId";
		public const string WorkflowItemIdField = "WorkflowItemId";
		public const string StartDateField = "StartDate";
		public const string DueDateField = "DueDate";
		public const string StatusField = "Status";
		public const string AssignedToField = "AssignedTo";
		public const string PriorityField = "Priority";
		public const string AExecutionStatusField = "AExecutionStatus";

		public const string DocumentIDField = "DocumentID";
		public const string DocumentTitleField = "DocumentTitle";
		public const string DocumentTypeField = "DocumentType";
		public const string DocumentUrlField = "DocumentUrl";
		public const string DocumentNumField = "DocumentNum";
		public const string DocumentDueDateField = "DocumentDueDate";
		public const string DocumentCounteragentField = "DocumentCounteragent";
		public const string DocumentPriorityField = "DocumentPriority";
		public const string DocumentPopupUrlField = "DocumentPopupUrl";
		public const string DocumentContentTypeField = "DocumentContentType";
		public const string DocumentStatusField = "DocumentStatus";

		public const string DepartmentIDField = "DepartmentID";
		public const string DepartmentTitleField = "DepartmentTitle";
		public const string CounteragentIDField = "CounteragentID";
		public const string CounteragentTitleField = "CounteragentTitle";
		public const string SignerTitleField = "SignerTitle";
		public const string AmountOverallField = "AmountOverall";
		public const string AmountManagerField = "AmountManager";
		public const string CountOverallField = "CountOverall";
		public const string CountManagerField = "CountManager";

		public const string UserID = "UserID";
		public const string UserTitle = "UserTitle";
		public const string UserPhone = "UserPhone";
		public const string UserEmail = "UserEmail";

		// Some keys
		public static string[] YAN = new[] { "Да", "Согласовано", "Нет необходимости" };
		public static string[] YA = new[] { "Да", "Согласовано" };
		public static string[] NN = new[] { "Нет", "Несогласовано" };
		public const string DNN = "Не требуется";

		public const string DIE = "пусто";
		public static string[] WON = new[] { "бн", "б.н.", "б н", "б.н" };

		public const string RequiredFieldMessage = "<br/>Укажите значение этого обязательного поля";
		public const string NotCorrectFieldMessage = "<br/>Укажите правильное значение этого поля";
	}
}